Transforming data topic
Derive new lists.
Functions
-
cross<
T> (Iterable< Transforming dataIterable< iterables) → List<T> >List< T> > -
Returns the
Cartesian product of the
specified
iterables. -
crossWith<
T, R> (Iterable< Transforming dataIterable< iterables, R reducer(List<T> >T> )) → List<R> -
Returns the
Cartesian product of the
specified
iterables, applying the specifiedreducerfunction to each combination of elements. -
filter<
T> (Iterable< Transforming dataT> iterable, bool test(T)) → List<T> -
Returns a new list containing the values from
iterable, in order, for which the given test function returns true. -
map<
T, R> (Iterable< Transforming dataT> iterable, R mapper(T)) → List<R> -
Returns a new list containing the mapped values from
iterable, in order, as defined by givenmapperfunction. -
merge<
T> (Iterable< Transforming dataIterable< iterables) → List<T> >T> -
Merges the specified iterable of
iterablesinto a single list. -
pairs<
T> (Iterable< Transforming dataT> iterable) → List<(T, T)> -
Returns a list of pairs from consecutive values of the provided
iterable. -
pairsWith<
T, R> (Iterable< Transforming dataT> iterable, R reducer(T, T)) → List<R> -
Returns a list of values yielded by the
reducerfunction applied to each pair of consecutive elements from the providediterable. -
transpose<
T> (Iterable< Transforming dataIterable< matrix) → List<T> >List< T> > -
Returns a list of lists, where the ith list contains the ith element from
each of the iterables in the
matrix.